namespace Digitalmes.Application.Mes.Masters.Workshops;

/// <summary>
/// 车间 DTO 对象。
/// </summary>
public sealed class MdWorkshopDto : Dto
{
    /// <summary>
    /// 车间编号
    /// </summary>
    [NotNull]
    public string? WspCode { get; set; }

    /// <summary>
    /// 车间名称
    /// </summary>
    [NotNull]
    public string? WspName { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 启用状态（0->停用，1->启用）
    /// </summary>
    public EnabledStatusEnum Status { get; set; }

    public string? CreatedBy { get; set; }

    public DateTime CreatedTime { get; set; }

    public string? UpdatedBy { get; set; }

    public DateTime? UpdatedTime { get; set; }
}
